package ma.ensias.healthme.entities;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Personne implements Serializable{
    
   private int id;
   private String nom;
   private String prenom;
   private String email;
   private String login;
   private String pass;
   private String role;

    public Personne() {
    }

    public Personne(int id) {
        this.id = id;
    }

    public Personne(int id, String nom, String prenom, String role) {
        this.id = id;
        this.nom = nom;
        this.prenom = prenom;
        this.role = role;
    }

    public Personne(String nom, String prenom, String login, String pass, String role) {
        this.nom = nom;
        this.prenom = prenom;
        this.login = login;
        this.pass = pass;
        this.role = role;
    }
    
    public Personne(int id, String nom, String prenom, String login, String pass, String role) {
        this.id = id;
        this.nom = nom;
        this.prenom = prenom;
        this.login = login;
        this.pass = pass;
        this.role = role;
    }
    

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
